﻿using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EMall
{
    public static class StringExtensions
    {
        public static List<string> SplitToList(this string value, char c = ',')
        {
            return !string.IsNullOrWhiteSpace(value) ? value.Split(',').ToList() : new List<string>();
        }
    }
}
